package com.mutual.assistance.system.create;

import com.alibaba.fastjson.JSON;
import com.mutual.assistance.system.model.vo.Code;

import java.util.ArrayList;
import java.util.List;

/**
 * @author chenyuxin
 * @version 1.0
 * @description 创建数据字典
 * @date 2023/4/28 16:26
 */
public class CreateCode {
    public static void main(String[] args) {
        List<Code> list = new ArrayList<>();
        list.add(new Code("005001", "未读消息"));
        list.add(new Code("005002", "已读消息"));
        list.add(new Code("005003", "删除消息"));
        System.out.println(JSON.toJSONString(list));
    }
}
